﻿<%@ Page Title="Home Page" Language="vb" MasterPageFile="~/Site.Master" AutoEventWireup="false"
    CodeBehind="Default.aspx.vb" Inherits="codeplex1._Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
    <style type="text/css">
        .style1
        {
            font-size: x-large;
        }
    </style>
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <p>
        Sum of two numbers :
    </p>
    <p>
        Enter first number&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :<asp:TextBox ID="TextBox1" 
            runat="server"></asp:TextBox>
&nbsp;<asp:RangeValidator ID="RangeValidator1" runat="server" 
            ControlToValidate="TextBox1" ErrorMessage="Invalid Inputt" Type="Double"></asp:RangeValidator>
    </p>
    <p>
        Enter second number :<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
        <asp:RangeValidator ID="RangeValidator2" runat="server" 
            ControlToValidate="TextBox2" ErrorMessage="Invalid Input" Type="Double"></asp:RangeValidator>
    </p>
    <p>
        &nbsp;:<asp:Button ID="Button1" runat="server" Text="Submit" Width="187px" />
&nbsp;</p>
    <p>
        <strong><span class="style1">Result ! </span></strong>&nbsp;
        <asp:Label ID="Label1" runat="server" 
            style="font-weight: 700; font-size: x-large" Text="Label"></asp:Label>
    </p>
</asp:Content>
